﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;


namespace yq.WebModel
{
    /// <summary>
    /// 用户登录
    /// </summary>
    public class UserLogin
    {
        string _Account;

        [Required(ErrorMessage="请输入账号")]
        [Display(Name="账号")]
        public string Account
        {
            get { return _Account; }
            set { _Account = value; }
        }

        string _Pwd;

        [Required(ErrorMessage = "请输入密码")]
        [Display(Name = "密码")]
        public string Pwd
        {
            get { return _Pwd; }
            set { _Pwd = value; }
        }

    }
}
